<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
 String contextPath = request.getContextPath();
%>
<html>
<head>
<meta http-equiv=content-type content="text/html; charset=UTF-8">
<title>注册 | 特優家团</title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="stylesheet" href="<%=contextPath%>/css/css.css" type="text/css"/>
<script type="text/javascript" src="<%=contextPath%>/js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="<%=contextPath%>/js/javascript.js"></script>

</head>
<body>
<div id="doc">
<jsp:include page="/template/top.jsp"></jsp:include>

  <div id="sysmsg-error-box">
	<div id="sysmsg-error" class="sysmsgw hidd">
		<div class="sysmsg"><span></span><span class="close">关闭</span></div>
	</div>

	<div id="sysmsg-success" class="sysmsgw hidd">
		<div class="sysmsg"><span></span><span class="close">关闭</span></div>
	</div>
  </div>
    <div id="bd" class="cf">
      <div id="signup">
        <div id="content" class="signup-box">
          <div class="box">
            <div class="box-top"></div>
            <div class="box-content">
              <div class="head">
                <h2>注册</h2>
                <span>&nbsp;或者 <a href="<%=contextPath%>/account/login.jsp">登录</a></span></div>
              <div class="sect">

                <form id="signup-user-form" method="post" action="register.action">
                  <!-- normal user register-->
                  <s:hidden name="flag" value="1"></s:hidden>
                  <div class="field email">
                    <label for="signup-email-address">Email</label>
                    <s:textfield id="signup-email-address" name="email" size="30" cssClass="f-input" theme="simple"></s:textfield><s:fielderror cssStyle="color:red"><s:param>email</s:param></s:fielderror>
                    <!-- <input type="text" size="30" name="chremail" id="signup-email-address" class="f-input" value="" />-->
                    <span class="f-input-tip"></span> <span class="hint">登录及找回密码用，不会公开</span> </div>
                  <div class="field username">
                    <label for="signup-username">用户名</label>
                    <s:textfield id="signup-username" name="userName" size="30" cssClass="f-input" theme="simple"></s:textfield><s:fielderror cssStyle="color:red"><s:param>userName</s:param></s:fielderror>
                    <!--  <input type="text" size="30" name="chrname" id="signup-username" class="f-input" value="" />-->
                    <span class="hint">4-16 个字符，一个汉字为两个字符</span> </div>
                  <div class="field password">
                    <label for="signup-password">密码</label>
                    <s:password id="signup-password" name="pwd" size="30" cssClass="f-input"></s:password>
                    <!--  <input type="password" size="30" name="chrpwd" id="signup-password" class="f-input"  />-->
                    <span class="hint">最少 4 个字符</span> </div>

                  <div class="field password">
                    <label for="signup-password-confirm">确认密码</label>
                    <s:password id="signup-password-confirm" name="pwd_confirm" size="30" cssClass="f-input"></s:password>
                    <!-- <input type="password" size="30" name="user_pwd_confirm" id="signup-password-confirm" class="f-input" /> -->
                  </div>
                  <div class="field city">
                    <label id="enter-address-city-label" for="signup-city">所在城市</label>
                    <select name="cityid" autocomplete="off" class="f-city" id="signup-city">
                      <option value='41' >全国</option><option value='35'  selected >石家庄</option><option value='38' >杭州</option><option value='70' >台州</option><option value='53' >武汉</option><option value='15' >北京</option><option value='17' >上海</option><option value='71' >天津</option><option value='67' >推广</option><option value=0>其它</option>

                    </select>
                    <p class="enter-city" style="display:none ">
                      <input id="enter-address-city" autocomplete="off" name="chrcity" class="f-text f-cityname" type="text" value="" />
                    </p>
                  </div>
				  <div class="field password">
					<label for="signup-password-confirm">手机号码</label>
					<s:textfield id="user_pwd_ziduan1" name="phoneNum" size="30" cssClass="f-input"></s:textfield>
					<!-- <input type="text" size="30" name="user_pwd_ziduan1" value="" id="user_pwd_ziduan1" class="f-input" />-->
				  </div>
				  <div class="field password">
				    <label for="signup-password-confirm">通讯地址</label>
				    <s:textfield id="user_pwd_ziduan1" name="address" size="30" cssClass="f-input"></s:textfield>
				    <!--<input type="text" size="30" name="user_pwd_ziduan2" value="" id="user_pwd_ziduan2" class="f-input" />-->
				  </div>

                  <div class="field subscribe">
                    <input tabindex="3" type="checkbox" value="1" name="tt" id="subscribe" class="f-check" checked="checked" />
                    <label for="subscribe">订阅每日最新团购信息</label>
                  </div>

                  <div class="clear"></div>
                  <div class="act">
                    <input type="submit" value="注册" name="commit" id="signup-submit" class="Cartbutton"/>
                  </div>
                </form>
              </div>
            </div>
            <div class="box-bottom"></div>
          </div>

        </div>
        <div id="sidebar">
          <div class="sbox">
            <div class="sbox-top"></div>
            <div class="sbox-content">
              <div class="side-tip">
                <h2>已有特優家团账户？</h2>
                <p>请直接<a href="<%=contextPath%>/account/login.jsp">登录</a>。</p>

              </div>
            </div>
            <div class="sbox-bottom"></div>
          </div>
        </div>
      </div>
    </div>
    <!-- bd end -->

  <!-- bdw end -->
  <jsp:include page="/template/bottom.jsp"></jsp:include>

<script src="http://s16.cnzz.com/stat.php?id=2373670&web_id=2373670&show=pic" language="JavaScript"></script>

</div>

</body>
</html>
